wayland: change wl_log level to G_LOG_LEVEL_DEBUG
authorRay Strode <rstrode@redhat.com>
Fri, 14 Aug 2015 15:03:43 +0000 (11:03 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 14 Aug 2015 15:06:48 +0000 (11:06 -0400)
wl_log() currently logs using G_LOG_LEVEL_ERROR
(which is fatal). The wayland client library doesn't
expect this behavior. It uses wl_log to log recoverable
errors.

This commit changes the log level to G_LOG_LEVEL_DEBUG
instead.

https://bugzilla.gnome.org/show_bug.cgi?id=753635

gdk/wayland/gdkdisplay-wayland.c

index b2fad081721b77bbb65273adb75530050b942adc..7b8b0ee057fbda373339ad2668f452b9c91be430 100644 (file)
@@ -398,7 +398,7 @@ static const struct wl_registry_listener registry_listener = {
 static void
 log_handler (const char *format, va_list args)
 {
-  g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
+  g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format, args);
 }
 
 static void